package org.igeek.atomqq.vo;

import java.io.Serializable;

/**
 * 消息内容
 * @author 作者 E-mail:hangxin1940@gmail.com
 * @version 创建时间：2011-9-4 上午01:42:43
 */
public class MsgChat implements Serializable,QQMessage{
	

	private static final long serialVersionUID = -9128667939506081000L;


	public enum ContentType{
		/** 文字内容*/
		TEXT,
		/** 经典表情*/
		FACE,
		/** 自定义图片*/
		CFACE,
		/** 离线图片*/
		OFFPIC
	}
	
	private ContentType type;
	
	private String content;
	
	private int success;
	
	
	
	public MsgChat() {
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getContent() {
		return content;
	}


	public void setContentType(ContentType type) {
		this.type = type;
	}


	public ContentType getContentType() {
		return type;
	}


	public void setSuccess(int success) {
		this.success = success;
	}


	public int getSuccess() {
		return success;
	}


	@Override
	public TYPE getMessageType() {
		return TYPE.CHAT;
	}


	





}
